package com.runfast.paotui.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class RunfastAgentbusiness implements Serializable {
    private Integer id;

    private String areas;

    private Date createTime;

    private String mobile;

    private String name;

    private Integer agentId;

    private String agentName;

    private String cityId;

    private String cityName;

    private String countyId;

    private String countyName;

    private BigDecimal coefficient;

    private String code;

    private String area;

    private String areaId;

    private BigDecimal coefficient2;

    private String managerCode;

    private Integer managerId;

    private String province;

    private String provinceId;

    private Integer aid;

    private Integer cid;

    private String managerName;

    private Integer pid;

    private Integer tid;

    private Integer ishaveup;

    private String showAreas;
    private BigDecimal paotuiCoefficient;
    private Integer orderMode;

    public Integer getOrderMode() {
        return orderMode;
    }

    public void setOrderMode(Integer orderMode) {
        this.orderMode = orderMode;
    }

    public BigDecimal getPaotuiCoefficient() {
        return paotuiCoefficient;
    }

    public void setPaotuiCoefficient(BigDecimal paotuiCoefficient) {
        this.paotuiCoefficient = paotuiCoefficient;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastAgentbusiness withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAreas() {
        return areas;
    }

    public RunfastAgentbusiness withAreas(String areas) {
        this.setAreas(areas);
        return this;
    }

    public void setAreas(String areas) {
        this.areas = areas == null ? null : areas.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public RunfastAgentbusiness withCreateTime(Date createTime) {
        this.setCreateTime(createTime);
        return this;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getMobile() {
        return mobile;
    }

    public RunfastAgentbusiness withMobile(String mobile) {
        this.setMobile(mobile);
        return this;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getName() {
        return name;
    }

    public RunfastAgentbusiness withName(String name) {
        this.setName(name);
        return this;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getAgentId() {
        return agentId;
    }

    public RunfastAgentbusiness withAgentId(Integer agentId) {
        this.setAgentId(agentId);
        return this;
    }

    public void setAgentId(Integer agentId) {
        this.agentId = agentId;
    }

    public String getAgentName() {
        return agentName;
    }

    public RunfastAgentbusiness withAgentName(String agentName) {
        this.setAgentName(agentName);
        return this;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName == null ? null : agentName.trim();
    }

    public String getCityId() {
        return cityId;
    }

    public RunfastAgentbusiness withCityId(String cityId) {
        this.setCityId(cityId);
        return this;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId == null ? null : cityId.trim();
    }

    public String getCityName() {
        return cityName;
    }

    public RunfastAgentbusiness withCityName(String cityName) {
        this.setCityName(cityName);
        return this;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName == null ? null : cityName.trim();
    }

    public String getCountyId() {
        return countyId;
    }

    public RunfastAgentbusiness withCountyId(String countyId) {
        this.setCountyId(countyId);
        return this;
    }

    public void setCountyId(String countyId) {
        this.countyId = countyId == null ? null : countyId.trim();
    }

    public String getCountyName() {
        return countyName;
    }

    public RunfastAgentbusiness withCountyName(String countyName) {
        this.setCountyName(countyName);
        return this;
    }

    public void setCountyName(String countyName) {
        this.countyName = countyName == null ? null : countyName.trim();
    }

    public BigDecimal getCoefficient() {
        return coefficient;
    }

    public RunfastAgentbusiness withCoefficient(BigDecimal coefficient) {
        this.setCoefficient(coefficient);
        return this;
    }

    public void setCoefficient(BigDecimal coefficient) {
        this.coefficient = coefficient;
    }

    public String getCode() {
        return code;
    }

    public RunfastAgentbusiness withCode(String code) {
        this.setCode(code);
        return this;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getArea() {
        return area;
    }

    public RunfastAgentbusiness withArea(String area) {
        this.setArea(area);
        return this;
    }

    public void setArea(String area) {
        this.area = area == null ? null : area.trim();
    }

    public String getAreaId() {
        return areaId;
    }

    public RunfastAgentbusiness withAreaId(String areaId) {
        this.setAreaId(areaId);
        return this;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId == null ? null : areaId.trim();
    }

    public BigDecimal getCoefficient2() {
        return coefficient2;
    }

    public RunfastAgentbusiness withCoefficient2(BigDecimal coefficient2) {
        this.setCoefficient2(coefficient2);
        return this;
    }

    public void setCoefficient2(BigDecimal coefficient2) {
        this.coefficient2 = coefficient2;
    }

    public String getManagerCode() {
        return managerCode;
    }

    public RunfastAgentbusiness withManagerCode(String managerCode) {
        this.setManagerCode(managerCode);
        return this;
    }

    public void setManagerCode(String managerCode) {
        this.managerCode = managerCode == null ? null : managerCode.trim();
    }

    public Integer getManagerId() {
        return managerId;
    }

    public RunfastAgentbusiness withManagerId(Integer managerId) {
        this.setManagerId(managerId);
        return this;
    }

    public void setManagerId(Integer managerId) {
        this.managerId = managerId;
    }

    public String getProvince() {
        return province;
    }

    public RunfastAgentbusiness withProvince(String province) {
        this.setProvince(province);
        return this;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getProvinceId() {
        return provinceId;
    }

    public RunfastAgentbusiness withProvinceId(String provinceId) {
        this.setProvinceId(provinceId);
        return this;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId == null ? null : provinceId.trim();
    }

    public Integer getAid() {
        return aid;
    }

    public RunfastAgentbusiness withAid(Integer aid) {
        this.setAid(aid);
        return this;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Integer getCid() {
        return cid;
    }

    public RunfastAgentbusiness withCid(Integer cid) {
        this.setCid(cid);
        return this;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getManagerName() {
        return managerName;
    }

    public RunfastAgentbusiness withManagerName(String managerName) {
        this.setManagerName(managerName);
        return this;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName == null ? null : managerName.trim();
    }

    public Integer getPid() {
        return pid;
    }

    public RunfastAgentbusiness withPid(Integer pid) {
        this.setPid(pid);
        return this;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getTid() {
        return tid;
    }

    public RunfastAgentbusiness withTid(Integer tid) {
        this.setTid(tid);
        return this;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Integer getIshaveup() {
        return ishaveup;
    }

    public RunfastAgentbusiness withIshaveup(Integer ishaveup) {
        this.setIshaveup(ishaveup);
        return this;
    }

    public void setIshaveup(Integer ishaveup) {
        this.ishaveup = ishaveup;
    }

    public String getShowAreas() {
        return showAreas;
    }

    public RunfastAgentbusiness withShowAreas(String showAreas) {
        this.setShowAreas(showAreas);
        return this;
    }

    public void setShowAreas(String showAreas) {
        this.showAreas = showAreas == null ? null : showAreas.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", areas=").append(areas);
        sb.append(", createTime=").append(createTime);
        sb.append(", mobile=").append(mobile);
        sb.append(", name=").append(name);
        sb.append(", agentId=").append(agentId);
        sb.append(", agentName=").append(agentName);
        sb.append(", cityId=").append(cityId);
        sb.append(", cityName=").append(cityName);
        sb.append(", countyId=").append(countyId);
        sb.append(", countyName=").append(countyName);
        sb.append(", coefficient=").append(coefficient);
        sb.append(", code=").append(code);
        sb.append(", area=").append(area);
        sb.append(", areaId=").append(areaId);
        sb.append(", coefficient2=").append(coefficient2);
        sb.append(", managerCode=").append(managerCode);
        sb.append(", managerId=").append(managerId);
        sb.append(", province=").append(province);
        sb.append(", provinceId=").append(provinceId);
        sb.append(", aid=").append(aid);
        sb.append(", cid=").append(cid);
        sb.append(", managerName=").append(managerName);
        sb.append(", pid=").append(pid);
        sb.append(", tid=").append(tid);
        sb.append(", ishaveup=").append(ishaveup);
        sb.append(", showAreas=").append(showAreas);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}